home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / dev / mui / urltext.lha / Urltext / Sources / mcc / smakefile < prev    next >
Encoding:
Makefile  |  2002-01-25  |  1.3 KB  |  43 lines

  1. # Urltext.mcc smake file
  2.  
  3. TARGET = MUI:LIBS/MUI/Urltext.mcc
  4.  
  5. C_COMPILER = sc
  6. C_COMPILER_OPTS = NOSTACKCHECK STRINGMERGE NOCHECKABORT COMMENTNEST\
  7. OPTIMIZE DATAMEMORY=FAST SMALLCODE SMALLDATA STRIPDEBUG OPTIMIZERSCHEDULER\
  8. OPTIMIZERINLINELOCAL NOICONS OPTIMIZERTIME IGNORE=147 IDLEN=127
  9.  
  10. ASSEMBLER = a68k
  11. ASSEMBLER_OPTS = -iainc:
  12.  
  13. LINKER = slink
  14. LINKER_OPTS = NOICONS SC SD ND
  15.  
  16. C_SOURCES = libinit.c init.c utils.c loc.c class.c
  17. ASM_SOURCES = libent.asm endcode.asm
  18. OBJECTS = libent.o libinit.o endcode.o init.o utils.o loc.o class.o
  19. LIBS = LIB:amiga.lib LIB:sc.lib
  20.  
  21. # built file
  22. $(TARGET): $(OBJECTS) $(LIBS)
  23.  
  24.         $(LINKER) <with <
  25. FROM $(OBJECTS) TO $(TARGET) LIB $(LIBS) $(LINKER_OPTS)
  26. <
  27.  
  28. # rules
  29. .c.o:
  30.       $(C_COMPILER) $(C_COMPILER_OPTS) $*.c
  31.  
  32. .asm.o:
  33.       $(ASSEMBLER) $(ASSEMBLER_OPTS) $*.asm
  34.  
  35. # dependences
  36. libent.o:  libent.asm Urltext.mcc_rev.i
  37. endcode.o: endcode.asm
  38. libinit.o: libinit.c base.h macros.h Urltext.mcc_rev.h
  39. init.o:    init.c class.h Urltext_mcc_private.h msg.h base.h class_protos.h macros.h Urltext.mcc_rev.h
  40. utils.o:   utils.c class.h Urltext_mcc_private.h msg.h base.h class_protos.h macros.h Urltext.mcc_rev.h
  41. loc.o:     loc.c class.h Urltext_mcc_private.h msg.h base.h class_protos.h macros.h Urltext.mcc_rev.h
  42. class.o:   class.c class.h Urltext_mcc_private.h msg.h base.h class_protos.h macros.h Urltext.mcc_rev.h
  43.